﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace EkStudio.com.bean.xml.reflection
{
    /// <summary>
    /// 字段排序
    /// </summary>
    [AttributeUsage(AttributeTargets.Class,AllowMultiple = false ,Inherited = false)]
    public class XmlType :Attribute
    {
        private string[] fieldOrder = null;

        public XmlType(string[] args)
        {
            this.fieldOrder = args;
        }

        public string[] FieldOrder
        {
            get
            {
                return fieldOrder;
            }

            set
            {
                fieldOrder = value;
            }
        }
    }
}
